package events
{
	import flash.events.Event;
	
	public class LoginEvent extends Event
	{
		public static var LOGIN:String = "login";
		
		public var username:String;
		
		public function LoginEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false, username:String="") 
		{
			super(type, bubbles, cancelable);
			this.username = username;
		}
		
		override public function clone():Event 
		{
			return new LoginEvent(type, bubbles, cancelable, username);
		}
	}
}